package cn.yunhe.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.yunhe.entity.Suffer;

public interface SuffDao {
      List<Suffer> chaSuff();
      int addSuff(Suffer suffer);
  	  int gaiSuff(Suffer suffer);
      int delSuff(Suffer suffer);
      List<Suffer> eidChaEmp();
        Suffer idChaSuff(int sid);
        
        // 住院
        Suffer findSufferByName(@Param("sname")String sname,@Param("sphone")String sphone);
        List<Suffer> eidChaSuff(int eid);
}
